//获取我的歌手接口数据类型
export interface MySingerItem {
  id: number;
  name: string;
  albumSize: number;
  mvSize: number;
  picUrl: string;
}

export type MySingerList = MySingerItem[];

export interface GetMySingerResponse {
  data: MySingerList;
  hasMore: boolean;
  count: number;
  code: number;
}

//获取我的视频接口数据类型
export interface Creator {
  userName: string;
}

export interface MyVideoItem {
  title: string;
  durationms: number;
  creator: Creator;
  playTime: number;
  coverUrl: string;
  vid: string;
}

export type MyVideoList = MyVideoItem[];

export interface GetMyVideoResponse {
  code: number;
  data: MyVideoList;
  hasMore: boolean;
  count: number;
}

//获取我的电台
export interface Dj {
  nickname: string;
}

export interface radioItem {
  dj: Dj;
  picUrl: string;
  name: string;
  id: number;
}

export type radioList = radioItem[];

export interface GetMyRadioResponse {
  count: number;
  djRadios: radioList;
  time: number;
  hasMore: boolean;
  code: number;
}

//获取我的歌单（创建的和收藏的）
export interface Creator {
  avatarUrl: string;
  userId: number;
  nickname: string;
}

export interface PlaylistItem {
  creator: Creator;
  userId: number;
  trackCount: number;
  coverImgUrl: string;
  name: string;
  id: number;
}

export type PlaylistList = PlaylistItem[];

export interface GetMySongListResponse {
  version: string;
  more: boolean;
  playlist: PlaylistList;
  code: number;
}
